package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import play.db.jpa.Model;

@Entity
@Table(name = "express")
public class Express extends Model {

	@Column(name="exc_name",length=50)
	public String excname; //物流公司名称
	
	@Column(name="exc_num",length=50)
	public String excnum; //快递单号
	
	@OneToOne(fetch = FetchType.LAZY)
	public Indent indent;
	
	@Column(name="predictTime")
	public int predictTime; 
	
}
